]> dgit.raspbian.org Git - gnome-shell.git/commit
padOsd: Figure out label/edition UI positions from unchanged fonts
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 30 Apr 2022 12:09:37 +0000 (14:09 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 2 Sep 2022 19:24:47 +0000 (19:24 +0000)
commita89d2aed841618f826316db3a5767bffc9bc7c43
tree7c5fa2216286f6bd6d82fec1dc03dde1b6a65a5d
parent329a28630312040e3a9da118772fb4452dc01717
padOsd: Figure out label/edition UI positions from unchanged fonts

We can figure out the position to render the text without resorting to
font sizes that make the whole text element sub-pixel size. As the
original labels in the SVG are themed invisible anyway, calculate the
button/ring/strip label and configuration UI position from their unchanged
size/location.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5415
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2288>
data/theme/pad-osd.css
js/ui/padOsd.js